﻿using ATM.BUS;
using ATM.Entities;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ATM.UnitTest
{
    [TestFixture()]
    public class ViewHistoryUT
    {
        List<ViewHistory> lst = new List<ViewHistory>();
        string case1 = "";
        string case2 = "111111111111AAAA";
        [TestCase]
        public void EmptyData()
        {
            Assert.AreEqual(ViewHistoryBUS.getData(case1, "wk", 1).Count==0, true);
        }

        [TestCase]
        public void HasData()
        {
            Assert.AreEqual(ViewHistoryBUS.getData(case2, "wk", 1).Count == 0, false);
        }
    }
}
